<?php
/**
 * Created by PhpStorm.
 * User: coffee
 * Date: 2018/1/9
 * Time: 下午12:15
 */

namespace App\Exceptions;


use Symfony\Component\HttpKernel\Exception\HttpException;

class InvaildAppliedException extends HttpException
{
    protected $message = '很抱歉，本次活动仅限至少上过一次课，并通过截图审核的学员参加。';
    protected $code = 'invalid.applied';

    public function __construct()
    {
        parent::__construct(400, $this->message);
    }
}